package com.wc.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ToString
public class User {
    private Integer id;
    private String name;
    private Boolean gender;
    private String tel;
    private Integer credits;

    public User(String name, Boolean gender, String tel, Integer credits) {
        this.name = name;
        this.gender = gender;
        this.tel = tel;
        this.credits = credits;
    }
}
